<!-- 首页 -->
<template>
	<view>
		<cu-custom bgColor="bg-gradual-pink" :isBack="false"><block slot="content">省钱中心</block></cu-custom> 
		<view class="page">
			<!-- <view class="movie-box">
				<hot-movie :data="options"></hot-movie>
			</view> -->
			 
			<view class="movie-box">
				<meituan-list :data="options"></meituan-list> 
			</view>
			
			<view class="movie-box">
				<meituan-seckill :data="options"></meituan-seckill> 
			</view>
			
			<view class="card-list-box">
				
				<commerce :data="options"></commerce>
				
			</view>
		</view>
	</view>
</template>

<script>
export default {
	components: {
		
	},
	props:{
		
	},
	data() {
		return {
			options:{
				pub_id:178935,
				sid:123456,
				channel:'plugin',
				title:"热门电影",
				btnColor: "#409EFF"
			},
		};
	},
	created() {
		
	},
	methods: {
		
		
	}
}; 
</script>

<style lang="scss" scoped>
	.page {
		background-color: #faf1f1;
		padding-bottom: 10rpx;
	}
	.movie-box {
		padding: 15px;
		padding-bottom: 0;
	}
	.top-header {
		color: #c06cdf;
		padding: 10px 15px;
		font-weight: bold;
		font-style: italic;
		font-size: 36rpx;
		background-color: #fff;
		display: flex;
		justify-content: space-between;
	}
	.more-game {
		color: #c0d1f3;
	}
	.masonry {
	    display: flex;
	    flex-direction: column;
		padding-top: 10px;
	}
	
	.column {
		display: flex;
		background-color: #fff;
		margin: 0 15px;
		border-radius: 5px;
		margin-bottom: 15px;
		padding: 10px;
	}
	
	.image-logo {
		width: 180rpx;
		height: 180rpx;
		border-radius: 5px;
		margin-right: 10px;
	}
	
	.game-info-box {
		display: flex;
		flex-direction: column;
		flex: 1;
		position: relative;
	}
	
	.game-title {
		font-size: 15px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		max-width: 160px;
	}
	.game-heart {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
	}
	.game-desc {
		word-break: break-all;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* 这里是超出几行省略 */
		overflow: hidden;
		max-width: 160px;
		font-size: 26rpx;
		margin-top: 5px;
	}
	.eye-num {
		color: #606266;
		font-size: 28rpx;
		display: flex;
		align-items: center;
	}
	
	.card-list-box {
		padding: 0 30rpx;
		padding-bottom: 20px;
	}
	.avatar-box {
		margin-right: 30rpx;
		position: relative;
	}
	.sex-nv {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 40rpx;
		height: 40rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100%;
		border: 4rpx solid #fff;
		background-color: #fe709f;
		font-size: 20rpx;
		color: #fff;
	}
	.sex-nan {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 40rpx;
		height: 40rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100%;
		border: 4rpx solid #fff;
		background-color: #2b85e4;
		font-size: 20rpx;
		color: #fff;
	}
	.card-title {
		font-size: 30rpx;
		line-height: 70rpx;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		max-width: 320rpx;
	}
	.card-info {
		display: flex;
		flex-direction: column;
		flex: 1;
	}
	.card-list {
		display: flex;
		align-items: center;
		padding: 30rpx 30rpx;
		background-color: #fff;
		border-radius: 10rpx;
		position: relative;
		margin-top: 10px;
	}
	.card-tag {
		display: flex;
		align-items: center;
		margin-bottom: 10rpx;
	}
	.card-tag .tag {
		background-color: #faf1f1;
		padding: 6rpx 12rpx;
		border-radius: 10rpx;
		margin-right: 10px;
		font-size: 22rpx;
		color: #606266;
	}
	.card-tag .tag-active {
		background-color: #faf1f1;
		padding: 6rpx 12rpx;
		border-radius: 10rpx;
		margin-right: 10px;
		font-size: 22rpx;
		color: #802ead;
	}
	.card-type {
		font-size: 22rpx;
		background-color: #dd0690;
		color: #fff;
		padding: 6rpx 24rpx;
		border-radius: 10rpx;
		position: absolute;
		top: 0;
		left: 0;
		border-bottom-left-radius: 0;
		border-top-right-radius: 0;
	}
	.card-coin {
		font-size: 22rpx;
		background-color: #c9be7d;
		color: #fff;
		padding: 6rpx 24rpx;
		border-radius: 10rpx;
		position: absolute;
		top: 0;
		left: 0;
		border-bottom-left-radius: 0;
		border-top-right-radius: 0;
	}
	.card-status {
		font-size: 20rpx;
		background-color: #faf1f1;
		padding: 12rpx 24rpx;
		border-radius: 50px;
		position: absolute;
		top: 10px;
		right: 20px;
		color: #606266;
		display: flex;
		line-height: 20rpx;
	}
	.card-tip {
		font-size: 24rpx;
		color: #606266;
		line-height: 40rpx;
	}
	.card-tip-box {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.msg-box {
		font-size: 28rpx;
		color: #b5b5b5;
		min-height: 20rpx;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		max-width: 100px;
	}
	.loadmore-box{
		padding: 15px;
		padding-bottom: 150rpx;
	}
	.play-box {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-left: 30rpx;
	}
	.play-btn {
		background-color: #eb92cd1a;
		padding: 20rpx 30rpx;
		border-radius: 20px;
		color: #a569d9;
		font-weight: bold;
		font-size: 28rpx;
	}
	.game-num {
		font-size: 24rpx;
		margin-top: 5px;
		color: #82848a;
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
	}
	
	
	
	.card-item {
		background-color: #fff;
		padding: 10px;
		display: flex;
		margin-bottom: 10px;
		border-radius: 5px;
	}
	.card-list .card-item:last-child {
		margin-bottom: 0;
	}
	
	.card-left {
		flex: 1;
	}
	.card-right {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.card-title {
		font-weight: bold;
		font-size: 32rpx;
	}
	.card-text {
		margin-top: 5px;
		font-size: 26rpx;
	}
	.card-tip {
		font-size: 26rpx;
		margin-bottom: 5px;
	}
	.join-btn {
		padding: 5px 10px;
		border-radius: 5px;
		font-size: 26rpx;
		background-color: #eb92cd1a;
		color: #07c160;
		font-weight: bold;
	}
</style>
